<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="studentForm"  >
                        <input id="userId" name="userId" hidden th:value="${student.userId}">
                        <div class="form-group" >
                            <label class="col-sm-2 control-label" >学号</label>
                            <div class="col-sm-4 form-inline">
                                <input class="form-control" type="text" style="width: 100%" th:value="${student.username}"
                                       id="username" name="username">
                            </div>
                            <label class="col-sm-2 control-label" >姓名</label>
                            <div class="col-sm-4 form-inline">
                                <input class="form-control" type="text" style="width: 100%" th:value="${student.name}"
                                       id="name" name="name">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label" >性别</label>
                            <div class="col-sm-4 form-inline">
                                <select class="form-control" id="sex" name="sex" style="width: 100%" disabled>
                                    <option value="-1" th:selected="${student.sex} == -1">-请选择性别-</option>
                                    <option value="0" th:selected="${student.sex} == 0">男</option>
                                    <option value="1" th:selected="${student.sex} == 1">女</option>
                                </select>
                            </div>
                            <label class="col-sm-2 control-label" >邮箱:</label>
                            <div class="col-sm-4 form-inline">
                                <input class="form-control" type="text" style="width: 100%" th:value="${student.email}"
                                       id="email" name="email">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label" >联系电话</label>
                            <div class="col-sm-4 form-inline">
                                <input class=" form-control" type="text" style="width: 100%" th:value="${student.mobile}"
                                       id="mobile" name="mobile">
                            </div>
                            <label class="col-sm-2 control-label" >所在班级</label>
                            <div class="col-sm-4 form-inline">
                                <select class="form-control selectpicker" id="studentClass" name="studentClass" style="width: 100%;">
                                </select>
                                <input style="display: none" type="text" id="teacher"  th:value="${student.studentClass}">
                            </div>
                        </div>

                        <!--<div class="form-group" >
                            <label class="col-sm-2 control-label" >选择实训课程</label>
                            <div class="col-sm-4 form-inline"  id="b">
                                <select class="form-control selectpicker" id="studentCourse" name="studentCourse" style="width: 100%;">
                                </select>
                            </div>
                        </div>-->

                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-5">
                                <button type="submit" id="submit" class="btn btn-primary" >提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/sys/student/edit.js">
</script>
</body>
</html>
